﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleBlog.Models;

namespace SimpleBlog.Infrastructure.Repositories
{
    public interface ITagRepository : IRepository<Tag>
    {
        Dictionary<Tag, int> GetAllAndCount();
        Tag GetByEncodedName(string encodedName);
        void SetTags(Post post, IEnumerable<string> tags);
    }
}
